{% extends "WebMainSiteBundle:User:layout.html.twig" %}
{% set title = "管理首页" %}
{% block title %}
    {{ title }}
{% endblock %}

{% block user_main %}
    <!-- 信息盒子 -->
    <div class="grey-box  author-box">
        {#<h2>我的信息</h2>#}
        <div class="row">
            <div class="col-md-3">
                <img src="{{ asset(user.headPic) }}" class="img-rounded" alt="headPic" width="150" height="150" />
            </div>
            <div class="col-md-9">
                <p><strong>知更鸟管理员</strong></p>
                <p><em>605499394@qq.com</em></p>
                <p>上次登录IP地址：{{ user.lastLoginIp }}</p>
                <p>上次登录时间：{{ user.lastLoginTime | date("Y-m-d H:i:s") }}</p>
            </div>
        </div>
    </div>
    <h2 class="yahei">近期学习课程</h2>
    <div class="row">
        {% for i in 1..9 %}
            <article class="col-md-4 video-item">
                <a href="video.htm" class="video-prev video-prev-small"></a>
                <h3 class="video-title"><a href="video.htm">如何功课PHP中的各种结束难关</a></h3>
                <div class="row video-params">
                    <div class="col-md-7">
                        讲师: <b>李自成</b>
                    </div>
                    <div class="col-md-5 text-right">
                        <b>102</b> <a href="#"><i class="fa fa-user"></i></a>
                    </div>
                </div>
                <div class="row video-params">
                    <div class="col-md-7">
                        更新: <b>09.01</b>
                    </div>
                    <div class="col-md-5 text-right">
                        <b>102</b> <a href="#"><i class="fa fa-heart"></i></a>
                    </div>
                </div>
                <div class="row video-params">
                    <div class="col-md-12">
                        Category: <b>Drawing</b>
                    </div>
                </div>
            </article>
        {% endfor %}
    </div>
{% endblock %}

